<!-- 打卡管理 -->
<template>
    <div>
        <div id="container">

        </div>
    </div>
</template>

<script lang="ts" setup>
import AMapLoader from "@amap/amap-jsapi-loader";
import { onMounted, ref } from "vue";

//文本框样式
const styles = {
    //设置文本样式，Object 同 css 样式表
    'border-radius': '50%',
    'background-color': 'rgba(0,0,0,0.5)',
    'width': '90px',
    'height': '90px',
    'line-height': '90px',
    'border-width': 0,
    'text-align': 'center',
    'font-size': '16px',
    'color': '#fff'
}

//地图文本数据
let mapData = [
    {
        name: "通州区",
        lat: "39.911104",
        lng: "116.667253",
        child: [
            {
                name: "项目11",
                lat: "39.860957",
                lng: "116.720392",
                address: "通州区"
            },
            {
                name: "项目12",
                lat: "39.768285",
                lng: "116.776523",
                address: "通州区"
            },
            {
                name: "项目13",
                lat: "39.820213",
                lng: "116.545006",
                address: "通州区"
            },
        ],
    },
    {
        name: "海淀区",
        lat: "40.070486",
        lng: "116.193235",
        child: [
            {
                name: "项目1",
                lat: "40.058377",
                lng: "116.370084",
                address: "海淀区"
            },
            {
                name: "项目2",
                lat: "40.07373",
                lng: "116.178453",
                address: "海淀区"
            },
            {
                name: "项目3",
                lat: "40.082459",
                lng: "116.243271",
                address: "海淀区"
            },
            {
                name: "项目4",
                lat: "40.077315",
                lng: "116.239001",
                address: "海淀区"
            },
            {
                name: "项目5",
                lat: "40.077233",
                lng: "116.246831",
                address: "海淀区"
            },
        ],
    },
    {
        name: "顺义区",
        lat: "40.1302",
        lng: "116.65417",
        child: [
            {
                name: "项目7",
                lat: "40.02302",
                lng: "116.620392",
                address: "顺义区"
            },
            {
                name: "项目8",
                lat: "39.9302",
                lng: "116.676523",
                address: "顺义区"
            },
            {
                name: "项目9",
                lat: "40.1302",
                lng: "116.645006",
                address: "顺义区"
            },
        ],
    },
];

// 地图数据最外层
let newMapData = new Map()//创建一个新的 Map 对象的语法。Map 对象是一种键值对的集合，其中的键和值可以是任意类型（包括对象和函数）
// 地图数据第二层(子数据)
let newMapChildData = new Map()//创建一个新的 Map 对象的语法。Map 对象是一种键值对的集合，其中的键和值可以是任意类型（包括对象和函数）

//@ts-ignore
window._AMapSecurityConfig = {
    securityJsCode: "98f6e3c83dd29c7fc45d942950db8ea9",//高德地图开发者密钥
};

let level = ref(12)//地图德放大等级

//地图实例
let map = ref()
//初始化地图
const initmap = () => {
    AMapLoader.load({
        key: "a48d7593c482f9c8b42b23ce5abd2201", //申请好的 Web 端开发者 Key，首次调用 load 时必填
        version: "2.0", //指定要加载的 JS API 的版本，缺省时默认为 1.4.15
        plugins: ["AMap.Scale"], //需要使用的的插件列表，如比例尺'AMap.Scale'，支持添加多个如：['AMap.Scale','...','...']
    })
        .then((AMap) => {
            map.value = new AMap.Map("container", {
                viewMode: '3D', //默认使用 2D 模式
                zoom: 10, //初始化地图缩放级别
                mapStyle: "amap://styles/dark", //设置地图的显示样式
                center: [116.407387, 39.904179], //地图中心点
            }); //"container"为 <div> 容器的 id
            //缩放工具条
            AMap.plugin('AMap.ToolBar', () => {
                let toolbar = new AMap.ToolBar({
                    position: { left: '20px', bottom: "60px" }, //工具条位置
                }); //缩放工具条实例化
                map.value.addControl(toolbar); //添加控件
            });
            //比例尺插件
            map.value.plugin(["AMap.Scale"], () => {
                let scale = new AMap.Scale();
                map.value.addControl(scale);
            });
            //鹰眼插件
            map.value.plugin(["AMap.HawkEye"], () => {
                let hawkeye = new AMap.HawkEye();
                map.value.addControl(hawkeye);
            });
            //小转盘插件
            map.value.plugin(["AMap.ControlBar"], () => {
                let controlbar = new AMap.ControlBar();
                map.value.addControl(controlbar);
            });
            //地图文本
            mapText(AMap)
            addPolygon(haiding, AMap)//区域绘制
            addPolygon(sunyi, AMap)//区域绘制
            addPolygon(tongzhou, AMap)//区域绘制
        })
        .catch((e) => {
            console.log(e);
        });
}

//文本标记函数
const mapText = (AMap: any) => {
    //遍历数组生成多个文本
    for (const i in mapData) {
        // 创建纯文本标记
        let text = new AMap.Text({
            text: mapData[i].name,//文本内容
            anchor: 'center', // 设置文本标记锚点
            draggable: false,//是否拖拽
            cursor: 'pointer',//鼠标悬停样式
            angle: 0,//文本框倾斜角度
            style: styles,//样式
            position: [mapData[i].lng, mapData[i].lat]//经纬度
        });
        newMapData.set(i, text)//将文本框添加到 Map 对象中  键是索引(这个层级浅，可以用索引，不会覆盖)，值是文本框对象
        text.setMap(map.value);//将文本框添加到地图实例中
        //鼠标经过事件      mouseover只会执行一次
        text.on('mouseover', textOver)
        //鼠标离开事件      
        text.on('mouseout', textOut)
        //鼠标点击事件      
        text.on('click', textClick)
        //信息窗体
        var infoWindow = new AMap.InfoWindow({
            // anchor: "top-left",
            // content: "这是信息窗体！",
            offset: new AMap.Pixel(-3, -20) //相对于基点的偏移位置
        });
        //遍历子数组生成多个点标记
        mapData[i].child.forEach((item: any) => {
            let marker = new AMap.Marker({
                position: new AMap.LngLat(item.lng, item.lat),//经纬度
                offset: new AMap.Pixel(-10, -10),//图标偏移量
                icon: "./src/assets/my-img/7.png", //添加 icon 图标 URL
                title: item.name,//鼠标悬停显示的文本
            });
            //设置每个点标记的窗口文本内容
            marker.content = `  <div style="width:220px;height:100px;">
                                    <h2 style="font-size:20px;">${item.name}</h2>
                                    <p>${item.address}</p>
                                </div>`
            marker.setMap(map.value);//添加到地图实例上
            //点标记点击事件
            marker.on('click', (e: any) => {
                //点击赋值点标记对应的窗口文本内容
                infoWindow.setContent(e.target.content);
                // 打开信息窗口
                infoWindow.open(map.value, e.target.getPosition());//第一个参数为当前地图的实例，第二个参数窗口显示位置坐标
            })
            newMapChildData.set(item, marker)//将点标记添加到 Map 对象中    键是每一项(不能用索引，会被覆盖)，值是点标记对象
        })
    }
    zoomChange()//地图级别更改后的事件
    // 初始化遍历点标记数组 全部移除
    newMapChildData.forEach((item: any) => {
        map.value.remove(item);
    })
}



//鼠标经过文本框事件
const textOver = (e: any) => {
    //鼠标悬停样式
    e.target.setStyle({
        background: 'rgba(255, 0, 0, 0.8)',
        boxShadow: '2px 2px 5px rgba(0, 0, 0, 0.5)', // 添加阴影效果
    })
}
//鼠标离开文本框事件
const textOut = (e: any) => {
    //鼠标离开样式
    e.target.setStyle({
        background: 'rgba(0, 0, 0, 0.5)',
    })
}
//鼠标点击文本框事件
const textClick = (e: any) => {
    // setZoomAndCenter()设置地图的缩放级别和中心点    第一个参数缩放等级,第二个参数经纬度,第三个参数是否动画，第四个参数动画时间
    map.value.setZoomAndCenter(level.value, [e.target.getPosition().lng, e.target.getPosition().lat], false, 1000)
}

// zoomchange 地图级别更改后的事件 
const zoomChange = () => {
    map.value.on('zoomchange', () => {
        // 获取当前缩放等级
        let zoom = map.value.getZoom()
        if (zoom <= 10) {
            // 遍历点标记数组 全部移除
            newMapChildData.forEach((item: any) => {
                map.value.remove(item);
            })
            // 遍历文本框数组 全部添加
            newMapData.forEach((item: any) => {
                map.value.add(item);
            })
        } else {
            // 遍历点标记数组 全部添加
            newMapChildData.forEach((item: any) => {
                map.value.add(item);
            })
            // 遍历文本框数组 全部移除
            newMapData.forEach((item: any) => {
                map.value.remove(item);
            })
        }
    });
}

//海定区区域数组
let haiding = [
    [
        [
            [116.32581, 39.896792],
            [116.32581, 39.89707],
            [116.32982, 39.897064],
            [116.333005, 39.897141],
            [116.337303, 39.897383],
            [116.337223, 39.898424],
            [116.336631, 39.898731],
            [116.336371, 39.898432],
            [116.335353, 39.898443],
            [116.335474, 39.902058],
            [116.335969, 39.903428],
            [116.335208, 39.90412],
            [116.334858, 39.904823],
            [116.334851, 39.90741],
            [116.335346, 39.907773],
            [116.335346, 39.909113],
            [116.335076, 39.91025],
            [116.334449, 39.911958],
            [116.334519, 39.91296],
            [116.33464, 39.922656],
            [116.334522, 39.924163],
            [116.333106, 39.937681],
            [116.333061, 39.938557],
            [116.330904, 39.938694],
            [116.330737, 39.939981],
            [116.329079, 39.940174],
            [116.328556, 39.941848],
            [116.327954, 39.942372],
            [116.329782, 39.943187],
            [116.331312, 39.943525],
            [116.33214, 39.944058],
            [116.332898, 39.944093],
            [116.333906, 39.94352],
            [116.334872, 39.943541],
            [116.335845, 39.943174],
            [116.336804, 39.943182],
            [116.338005, 39.942907],
            [116.338341, 39.942249],
            [116.338899, 39.941949],
            [116.339325, 39.942251],
            [116.339325, 39.942984],
            [116.339903, 39.943036],
            [116.3409, 39.942024],
            [116.341451, 39.941974],
            [116.343224, 39.942693],
            [116.343649, 39.943278],
            [116.346627, 39.943618],
            [116.347313, 39.943607],
            [116.350249, 39.942866],
            [116.351658, 39.943146],
            [116.35242, 39.943832],
            [116.351894, 39.94523],
            [116.351655, 39.945188],
            [116.351198, 39.946135],
            [116.351153, 39.947541],
            [116.351752, 39.950291],
            [116.352029, 39.950856],
            [116.353189, 39.948839],
            [116.353733, 39.947118],
            [116.354003, 39.94554],
            [116.354685, 39.944733],
            [116.354723, 39.945542],
            [116.356274, 39.945537],
            [116.356198, 39.94409],
            [116.358677, 39.944486],
            [116.360606, 39.945076],
            [116.365353, 39.946413],
            [116.368608, 39.947763],
            [116.370571, 39.948378],
            [116.371963, 39.948595],
            [116.371513, 39.953071],
            [116.370696, 39.962102],
            [116.370163, 39.967365],
            [116.370381, 39.967908],
            [116.374626, 39.968046],
            [116.380408, 39.968174],
            [116.380633, 39.969837],
            [116.380914, 39.972718],
            [116.38126, 39.975305],
            [116.381305, 39.977349],
            [116.380758, 39.979624],
            [116.378594, 39.98706],
            [116.377794, 39.989908],
            [116.376987, 39.992256],
            [116.376561, 39.992971],
            [116.37198, 39.998953],
            [116.368269, 40.003871],
            [116.364321, 40.009232],
            [116.362102, 40.012196],
            [116.358241, 40.017214],
            [116.350883, 40.026708],
            [116.352309, 40.026974],
            [116.357808, 40.02778],
            [116.36428, 40.028567],
            [116.370464, 40.029746],
            [116.371897, 40.029946],
            [116.377233, 40.03099],
            [116.378705, 40.031188],
            [116.381745, 40.031325],
            [116.391094, 40.031903],
            [116.393677, 40.032364],
            [116.395093, 40.03286],
            [116.394034, 40.034683],
            [116.392635, 40.035299],
            [116.392025, 40.035371],
            [116.390786, 40.035946],
            [116.390183, 40.036774],
            [116.390367, 40.038611],
            [116.389917, 40.038808],
            [116.389986, 40.039438],
            [116.390498, 40.039822],
            [116.390699, 40.040425],
            [116.390647, 40.041272],
            [116.389273, 40.041047],
            [116.38671, 40.042004],
            [116.38519, 40.042854],
            [116.382836, 40.042897],
            [116.380218, 40.042629],
            [116.379792, 40.043308],
            [116.379442, 40.043404],
            [116.377036, 40.042736],
            [116.376776, 40.04296],
            [116.376385, 40.04532],
            [116.375575, 40.045424],
            [116.372029, 40.044997],
            [116.371499, 40.047129],
            [116.369595, 40.046962],
            [116.367386, 40.053443],
            [116.372995, 40.054339],
            [116.371977, 40.056778],
            [116.372759, 40.056937],
            [116.372257, 40.057855],
            [116.373455, 40.058074],
            [116.3735, 40.058247],
            [116.374761, 40.058631],
            [116.375107, 40.058055],
            [116.375831, 40.058269],
            [116.37562, 40.058888],
            [116.376388, 40.059066],
            [116.376776, 40.058321],
            [116.379273, 40.058998],
            [116.378771, 40.060299],
            [116.380228, 40.060551],
            [116.380239, 40.061234],
            [116.382846, 40.061584],
            [116.381932, 40.066401],
            [116.38108, 40.066423],
            [116.381097, 40.065336],
            [116.378379, 40.066278],
            [116.3751, 40.065936],
            [116.373362, 40.06562],
            [116.372642, 40.067262],
            [116.371745, 40.067229],
            [116.371894, 40.06787],
            [116.372534, 40.068434],
            [116.370363, 40.069317],
            [116.370294, 40.068826],
            [116.363144, 40.068966],
            [116.363033, 40.065936],
            [116.357292, 40.066007],
            [116.35142, 40.064807],
            [116.3516, 40.062856],
            [116.349737, 40.062472],
            [116.349183, 40.06422],
            [116.346676, 40.063664],
            [116.346963, 40.060431],
            [116.342683, 40.059634],
            [116.343362, 40.055455],
            [116.34027, 40.055085],
            [116.33883, 40.058927],
            [116.335384, 40.058266],
            [116.334913, 40.061513],
            [116.333116, 40.061472],
            [116.33304, 40.063113],
            [116.332666, 40.063629],
            [116.330758, 40.063382],
            [116.330897, 40.061242],
            [116.33028, 40.061141],
            [116.330457, 40.059455],
            [116.330007, 40.059384],
            [116.330114, 40.058299],
            [116.330322, 40.058137],
            [116.331575, 40.058209],
            [116.331811, 40.05717],
            [116.328864, 40.054945],
            [116.328085, 40.055756],
            [116.325952, 40.054797],
            [116.320315, 40.060206],
            [116.318296, 40.061669],
            [116.313321, 40.060425],
            [116.313262, 40.062294],
            [116.309449, 40.060612],
            [116.30599, 40.06305],
            [116.303615, 40.061223],
            [116.302943, 40.060812],
            [116.295592, 40.073462],
            [116.293767, 40.076757],
            [116.29035, 40.083143],
            [116.279886, 40.079754],
            [116.277524, 40.084082],
            [116.275554, 40.088068],
            [116.273096, 40.092702],
            [116.274328, 40.093072],
            [116.273452, 40.0946],
            [116.273321, 40.095564],
            [116.265236, 40.094696],
            [116.264803, 40.096427],
            [116.264934, 40.096862],
            [116.264169, 40.097073],
            [116.262718, 40.096629],
            [116.262476, 40.09847],
            [116.25938, 40.100841],
            [116.258276, 40.10152],
            [116.258532, 40.101882],
            [116.263892, 40.104023],
            [116.26392, 40.104448],
            [116.264612, 40.105412],
            [116.264519, 40.105929],
            [116.263286, 40.107326],
            [116.263397, 40.107972],
            [116.26384, 40.108741],
            [116.263092, 40.109568],
            [116.263345, 40.110469],
            [116.263172, 40.110685],
            [116.261863, 40.111049],
            [116.26088, 40.111726],
            [116.258016, 40.111942],
            [116.257393, 40.110874],
            [116.257348, 40.110302],
            [116.258494, 40.109204],
            [116.259197, 40.10812],
            [116.259571, 40.106898],
            [116.259231, 40.105869],
            [116.25839, 40.105116],
            [116.256922, 40.104645],
            [116.255873, 40.10448],
            [116.253442, 40.106143],
            [116.252722, 40.106521],
            [116.250842, 40.106655],
            [116.249055, 40.106006],
            [116.245956, 40.105351],
            [116.244602, 40.105603],
            [116.240502, 40.10801],
            [116.240537, 40.109795],
            [116.243355, 40.113281],
            [116.243172, 40.113725],
            [116.241828, 40.118401],
            [116.245038, 40.118825],
            [116.244831, 40.121234],
            [116.245627, 40.121267],
            [116.246029, 40.126395],
            [116.246513, 40.131609],
            [116.246794, 40.13312],
            [116.247054, 40.136208],
            [116.242725, 40.136298],
            [116.241995, 40.136175],
            [116.238484, 40.136312],
            [116.237376, 40.136238],
            [116.233795, 40.13658],
            [116.231565, 40.137407],
            [116.230205, 40.137795],
            [116.228878, 40.138378],
            [116.226967, 40.13877],
            [116.222822, 40.140302],
            [116.218975, 40.142243],
            [116.217192, 40.142973],
            [116.21545, 40.143173],
            [116.214886, 40.143004],
            [116.213927, 40.142276],
            [116.213016, 40.141101],
            [116.21223, 40.140554],
            [116.210541, 40.140365],
            [116.209543, 40.140633],
            [116.207005, 40.142382],
            [116.206278, 40.143086],
            [116.205873, 40.143937],
            [116.205724, 40.144906],
            [116.205579, 40.148179],
            [116.205665, 40.150176],
            [116.204903, 40.151857],
            [116.203214, 40.153764],
            [116.202888, 40.156388],
            [116.202583, 40.157491],
            [116.202514, 40.158654],
            [116.202161, 40.160985],
            [116.198255, 40.160853],
            [116.198297, 40.160257],
            [116.19428, 40.160082],
            [116.192054, 40.155668],
            [116.190662, 40.155345],
            [116.189543, 40.155285],
            [116.189162, 40.155622],
            [116.186271, 40.15711],
            [116.183667, 40.157767],
            [116.182691, 40.158095],
            [116.182864, 40.157392],
            [116.183494, 40.156924],
            [116.183432, 40.155329],
            [116.183103, 40.153337],
            [116.180489, 40.150464],
            [116.180419, 40.147289],
            [116.174128, 40.143589],
            [116.167687, 40.141838],
            [116.167705, 40.139465],
            [116.168629, 40.135444],
            [116.170361, 40.132786],
            [116.170655, 40.132789],
            [116.17178, 40.127941],
            [116.1674, 40.128448],
            [116.1674, 40.127706],
            [116.16856, 40.126641],
            [116.169363, 40.126091],
            [116.169762, 40.125051],
            [116.169571, 40.124561],
            [116.167147, 40.124544],
            [116.162958, 40.123627],
            [116.162829, 40.123709],
            [116.152698, 40.121774],
            [116.142608, 40.12147],
            [116.142549, 40.121571],
            [116.132916, 40.121363],
            [116.132282, 40.119589],
            [116.132203, 40.115085],
            [116.130645, 40.115006],
            [116.129242, 40.114735],
            [116.128003, 40.116263],
            [116.127681, 40.116394],
            [116.123938, 40.115855],
            [116.119377, 40.11597],
            [116.11792, 40.115696],
            [116.113318, 40.115603],
            [116.113335, 40.115143],
            [116.111843, 40.11551],
            [116.111278, 40.115438],
            [116.108505, 40.116257],
            [116.105856, 40.118015],
            [116.105406, 40.117629],
            [116.103228, 40.116591],
            [116.10231, 40.116539],
            [116.102248, 40.115992],
            [116.100226, 40.116284],
            [116.100129, 40.117073],
            [116.099738, 40.117555],
            [116.099218, 40.118825],
            [116.09837, 40.118765],
            [116.097518, 40.119389],
            [116.096528, 40.120629],
            [116.096285, 40.121155],
            [116.095018, 40.121133],
            [116.094765, 40.120903],
            [116.092986, 40.120137],
            [116.091954, 40.12029],
            [116.091587, 40.119956],
            [116.090745, 40.120098],
            [116.089696, 40.119972],
            [116.089783, 40.119323],
            [116.088591, 40.119154],
            [116.087854, 40.119466],
            [116.087054, 40.119466],
            [116.0857, 40.119734],
            [116.084883, 40.11972],
            [116.08444, 40.120254],
            [116.083851, 40.119365],
            [116.082328, 40.11891],
            [116.082425, 40.118412],
            [116.081285, 40.117089],
            [116.081078, 40.116684],
            [116.079246, 40.11606],
            [116.078505, 40.115359],
            [116.077889, 40.11505],
            [116.076774, 40.114918],
            [116.07595, 40.115392],
            [116.074308, 40.115551],
            [116.073855, 40.115436],
            [116.07329, 40.114598],
            [116.07329, 40.113774],
            [116.07364, 40.112454],
            [116.072785, 40.111304],
            [116.072525, 40.110411],
            [116.072944, 40.110223],
            [116.072674, 40.109259],
            [116.071718, 40.108232],
            [116.07077, 40.107753],
            [116.070264, 40.106803],
            [116.069464, 40.104916],
            [116.067664, 40.103894],
            [116.06695, 40.103763],
            [116.065171, 40.103763],
            [116.064457, 40.10335],
            [116.062934, 40.102818],
            [116.062352, 40.101939],
            [116.062265, 40.100556],
            [116.061957, 40.099557],
            [116.060725, 40.098708],
            [116.060108, 40.098716],
            [116.059125, 40.098434],
            [116.058252, 40.097612],
            [116.056888, 40.097111],
            [116.055894, 40.096432],
            [116.054426, 40.09472],
            [116.054409, 40.094145],
            [116.053834, 40.092412],
            [116.052442, 40.09176],
            [116.05185, 40.091667],
            [116.051448, 40.091182],
            [116.050728, 40.08959],
            [116.050309, 40.089122],
            [116.050292, 40.088506],
            [116.049187, 40.087553],
            [116.048837, 40.085342],
            [116.049291, 40.084893],
            [116.051317, 40.084337],
            [116.051926, 40.083376],
            [116.052006, 40.082743],
            [116.052553, 40.082304],
            [116.052761, 40.080751],
            [116.053294, 40.080439],
            [116.054146, 40.079127],
            [116.054589, 40.078228],
            [116.055562, 40.077565],
            [116.056015, 40.076864],
            [116.057466, 40.076234],
            [116.05792, 40.075609],
            [116.057999, 40.074916],
            [116.059554, 40.075401],
            [116.060797, 40.074881],
            [116.061234, 40.074259],
            [116.064017, 40.073026],
            [116.064772, 40.071708],
            [116.06533, 40.071264],
            [116.065527, 40.0697],
            [116.065337, 40.069338],
            [116.06499, 40.067464],
            [116.065589, 40.066834],
            [116.066119, 40.065653],
            [116.066867, 40.065494],
            [116.067643, 40.064919],
            [116.068598, 40.063889],
            [116.069197, 40.06282],
            [116.069997, 40.062376],
            [116.071137, 40.062034],
            [116.071493, 40.061261],
            [116.071299, 40.059031],
            [116.070413, 40.057228],
            [116.070119, 40.055833],
            [116.069353, 40.054849],
            [116.069066, 40.053895],
            [116.068335, 40.053383],
            [116.068353, 40.052594],
            [116.068048, 40.051933],
            [116.069606, 40.050659],
            [116.069797, 40.049848],
            [116.069526, 40.04822],
            [116.070839, 40.046715],
            [116.071064, 40.045635],
            [116.071701, 40.045043],
            [116.072542, 40.043289],
            [116.072992, 40.042881],
            [116.073526, 40.041889],
            [116.073453, 40.041256],
            [116.074218, 40.041138],
            [116.075132, 40.039915],
            [116.074949, 40.039044],
            [116.075139, 40.038452],
            [116.074852, 40.037106],
            [116.075634, 40.036259],
            [116.075686, 40.03588],
            [116.076663, 40.035143],
            [116.07721, 40.033981],
            [116.078173, 40.03275],
            [116.078938, 40.033161],
            [116.080537, 40.033148],
            [116.081545, 40.032542],
            [116.082743, 40.032259],
            [116.083134, 40.031747],
            [116.084236, 40.030908],
            [116.086043, 40.031451],
            [116.087432, 40.031478],
            [116.088772, 40.031725],
            [116.090236, 40.031848],
            [116.09122, 40.031429],
            [116.092757, 40.031777],
            [116.095067, 40.031782],
            [116.095465, 40.032229],
            [116.096888, 40.03323],
            [116.098401, 40.033819],
            [116.100814, 40.033797],
            [116.102227, 40.033559],
            [116.104641, 40.032498],
            [116.105489, 40.032205],
            [116.107546, 40.032202],
            [116.108467, 40.032468],
            [116.1098, 40.032605],
            [116.110894, 40.032235],
            [116.112532, 40.032849],
            [116.114519, 40.033],
            [116.116382, 40.032654],
            [116.117864, 40.031914],
            [116.119322, 40.03175],
            [116.120018, 40.031388],
            [116.121119, 40.031133],
            [116.121438, 40.029907],
            [116.122736, 40.02991],
            [116.123605, 40.029655],
            [116.124782, 40.029896],
            [116.12551, 40.030417],
            [116.126909, 40.030708],
            [116.12792, 40.030475],
            [116.129568, 40.031108],
            [116.131122, 40.031007],
            [116.132227, 40.030661],
            [116.133294, 40.030565],
            [116.134003, 40.030711],
            [116.135271, 40.030423],
            [116.135859, 40.030006],
            [116.137182, 40.02988],
            [116.140094, 40.028729],
            [116.140769, 40.027903],
            [116.141548, 40.027234],
            [116.143325, 40.026829],
            [116.144301, 40.025716],
            [116.144814, 40.024712],
            [116.14696, 40.023191],
            [116.148477, 40.022396],
            [116.149284, 40.022163],
            [116.150198, 40.022599],
            [116.151403, 40.02287],
            [116.152996, 40.021995],
            [116.154253, 40.022015],
            [116.15472, 40.021499],
            [116.15587, 40.020989],
            [116.155974, 40.020723],
            [116.15731, 40.02103],
            [116.159003, 40.019361],
            [116.160011, 40.019314],
            [116.162701, 40.017496],
            [116.163937, 40.016794],
            [116.164578, 40.015791],
            [116.164751, 40.015116],
            [116.164571, 40.014535],
            [116.166015, 40.013361],
            [116.166309, 40.012698],
            [116.16748, 40.012651],
            [116.167816, 40.011914],
            [116.168709, 40.011261],
            [116.170073, 40.010833],
            [116.171088, 40.009078],
            [116.171354, 40.008807],
            [116.172611, 40.009064],
            [116.173401, 40.008426],
            [116.173408, 40.007564],
            [116.174429, 40.007057],
            [116.175423, 40.006309],
            [116.174516, 40.005028],
            [116.173789, 40.004526],
            [116.17383, 40.003988],
            [116.173321, 40.003402],
            [116.172895, 40.002524],
            [116.172781, 40.000996],
            [116.172109, 40.00064],
            [116.161669, 39.999987],
            [116.155963, 39.99796],
            [116.154533, 39.997269],
            [116.154076, 39.996233],
            [116.154256, 39.995525],
            [116.153955, 39.994944],
            [116.152449, 39.993866],
            [116.151573, 39.993438],
            [116.153408, 39.99219],
            [116.156115, 39.989142],
            [116.157435, 39.986835],
            [116.157078, 39.985209],
            [116.158117, 39.984139],
            [116.161569, 39.984539],
            [116.16499, 39.987033],
            [116.166853, 39.987568],
            [116.16784, 39.986756],
            [116.168557, 39.984575],
            [116.169232, 39.979366],
            [116.17061, 39.977259],
            [116.171482, 39.977004],
            [116.173657, 39.978329],
            [116.178009, 39.982208],
            [116.178875, 39.983684],
            [116.17891, 39.988292],
            [116.180859, 39.987118],
            [116.18239, 39.986893],
            [116.184474, 39.986103],
            [116.18508, 39.985612],
            [116.18588, 39.984518],
            [116.186579, 39.983909],
            [116.186683, 39.983025],
            [116.186406, 39.982301],
            [116.186915, 39.980361],
            [116.186725, 39.979289],
            [116.185305, 39.97798],
            [116.185437, 39.976496],
            [116.186067, 39.974982],
            [116.186084, 39.97327],
            [116.185277, 39.972304],
            [116.185807, 39.970276],
            [116.187701, 39.968389],
            [116.190679, 39.968251],
            [116.191192, 39.967231],
            [116.190741, 39.965362],
            [116.196451, 39.962179],
            [116.19972, 39.96157],
            [116.201119, 39.961112],
            [116.201891, 39.959954],
            [116.201967, 39.957742],
            [116.205856, 39.955774],
            [116.209249, 39.951073],
            [116.212833, 39.948943],
            [116.213352, 39.94636],
            [116.214533, 39.945899],
            [116.215547, 39.945765],
            [116.215918, 39.944469],
            [116.215468, 39.943745],
            [116.218664, 39.943599],
            [116.218543, 39.941346],
            [116.215693, 39.941271],
            [116.215717, 39.940555],
            [116.216326, 39.940163],
            [116.216288, 39.936388],
            [116.215347, 39.936374],
            [116.215388, 39.935394],
            [116.215953, 39.935315],
            [116.215987, 39.934241],
            [116.215516, 39.934261],
            [116.215492, 39.933854],
            [116.214131, 39.933928],
            [116.214142, 39.934472],
            [116.213092, 39.934538],
            [116.213196, 39.933231],
            [116.214055, 39.932405],
            [116.216191, 39.931238],
            [116.214488, 39.931208],
            [116.214159, 39.931084],
            [116.213768, 39.92933],
            [116.213075, 39.929347],
            [116.213058, 39.928896],
            [116.215908, 39.928674],
            [116.215689, 39.927104],
            [116.21518, 39.926747],
            [116.212511, 39.926162],
            [116.207705, 39.925904],
            [116.207532, 39.924273],
            [116.206829, 39.924287],
            [116.206915, 39.919539],
            [116.206794, 39.916667],
            [116.211472, 39.916648],
            [116.213342, 39.917126],
            [116.213781, 39.916626],
            [116.215686, 39.917615],
            [116.217459, 39.918024],
            [116.228501, 39.9189],
            [116.230901, 39.919531],
            [116.230502, 39.918523],
            [116.23063, 39.917755],
            [116.232019, 39.917269],
            [116.232424, 39.916942],
            [116.233466, 39.917057],
            [116.237054, 39.916862],
            [116.236846, 39.918004],
            [116.237438, 39.918081],
            [116.237698, 39.91846],
            [116.23947, 39.918463],
            [116.241486, 39.918114],
            [116.24277, 39.918125],
            [116.242791, 39.91865],
            [116.244817, 39.918694],
            [116.245319, 39.918869],
            [116.246122, 39.918751],
            [116.246101, 39.91916],
            [116.246728, 39.920794],
            [116.249702, 39.920742],
            [116.249772, 39.920495],
            [116.25196, 39.920964],
            [116.252919, 39.920297],
            [116.252718, 39.920067],
            [116.250984, 39.919841],
            [116.251323, 39.918663],
            [116.251725, 39.918307],
            [116.253058, 39.918331],
            [116.25277, 39.91756],
            [116.250423, 39.917579],
            [116.250007, 39.916881],
            [116.249685, 39.91689],
            [116.249252, 39.916269],
            [116.249741, 39.91547],
            [116.252985, 39.915552],
            [116.253037, 39.912886],
            [116.252975, 39.90744],
            [116.252999, 39.904496],
            [116.252985, 39.896952],
            [116.259914, 39.896952],
            [116.259889, 39.896732],
            [116.258743, 39.896658],
            [116.261756, 39.896523],
            [116.264124, 39.896586],
            [116.266209, 39.896257],
            [116.271513, 39.896268],
            [116.272053, 39.896435],
            [116.277995, 39.896523],
            [116.281842, 39.896534],
            [116.282531, 39.896663],
            [116.287711, 39.896685],
            [116.29375, 39.896666],
            [116.294976, 39.89649],
            [116.29501, 39.893139],
            [116.294661, 39.892691],
            [116.294633, 39.889744],
            [116.294183, 39.889403],
            [116.2942, 39.88881],
            [116.294993, 39.888373],
            [116.295014, 39.886829],
            [116.296607, 39.886865],
            [116.299172, 39.888695],
            [116.299183, 39.889598],
            [116.301714, 39.889664],
            [116.302749, 39.889543],
            [116.302753, 39.889093],
            [116.303508, 39.889098],
            [116.303521, 39.889818],
            [116.30277, 39.889769],
            [116.302787, 39.891925],
            [116.304027, 39.892441],
            [116.304041, 39.890969],
            [116.306527, 39.890977],
            [116.306565, 39.891708],
            [116.305845, 39.891738],
            [116.305841, 39.892461],
            [116.307427, 39.892441],
            [116.307417, 39.893782],
            [116.310343, 39.894241],
            [116.311233, 39.893988],
            [116.311894, 39.89448],
            [116.3109, 39.895562],
            [116.312774, 39.895562],
            [116.312763, 39.896364],
            [116.31402, 39.896779],
            [116.32581, 39.896792]
        ]
    ]
]
//顺义区区域数组
let sunyi = [
    [
        [
            [116.610064, 40.03122],
            [116.614065, 40.031748],
            [116.614132, 40.028182],
            [116.61493, 40.028218],
            [116.618138, 40.027605],
            [116.61796, 40.026725],
            [116.619395, 40.026731],
            [116.620109, 40.022511],
            [116.624245, 40.023671],
            [116.624307, 40.022569],
            [116.626691, 40.022575],
            [116.627051, 40.021507],
            [116.631025, 40.021671],
            [116.630618, 40.023015],
            [116.633513, 40.023671],
            [116.634655, 40.021145],
            [116.635515, 40.021227],
            [116.636167, 40.019703],
            [116.638086, 40.01997],
            [116.637617, 40.021118],
            [116.641857, 40.021971],
            [116.641831, 40.022123],
            [116.643057, 40.022372],
            [116.644293, 40.022812],
            [116.644413, 40.022648],
            [116.647839, 40.024512],
            [116.648658, 40.025165],
            [116.649555, 40.024995],
            [116.651193, 40.025753],
            [116.650911, 40.024897],
            [116.651313, 40.02259],
            [116.651678, 40.021907],
            [116.653446, 40.020113],
            [116.655636, 40.018562],
            [116.656392, 40.0196],
            [116.656841, 40.019725],
            [116.660121, 40.021655],
            [116.660956, 40.021088],
            [116.661415, 40.018777],
            [116.664706, 40.019042],
            [116.664961, 40.01691],
            [116.665488, 40.015253],
            [116.667694, 40.01518],
            [116.66771, 40.013088],
            [116.668664, 40.013109],
            [116.668612, 40.013944],
            [116.673634, 40.014982],
            [116.673733, 40.01467],
            [116.675162, 40.014946],
            [116.675293, 40.014509],
            [116.678469, 40.015055],
            [116.678808, 40.013789],
            [116.683778, 40.014457],
            [116.684373, 40.012809],
            [116.684936, 40.012945],
            [116.685186, 40.012414],
            [116.685635, 40.012444],
            [116.686016, 40.011861],
            [116.685817, 40.011467],
            [116.686292, 40.008269],
            [116.688086, 40.008597],
            [116.688373, 40.009177],
            [116.68781, 40.010629],
            [116.687846, 40.011233],
            [116.687168, 40.013613],
            [116.685583, 40.016567],
            [116.687825, 40.017086],
            [116.688446, 40.016124],
            [116.691883, 40.017117],
            [116.693134, 40.015532],
            [116.697244, 40.016103],
            [116.698804, 40.017545],
            [116.702606, 40.019248],
            [116.70393, 40.020137],
            [116.703982, 40.02066],
            [116.705229, 40.023286],
            [116.705453, 40.024315],
            [116.706079, 40.025559],
            [116.70768, 40.024758],
            [116.708629, 40.026585],
            [116.709344, 40.026688],
            [116.711362, 40.025635],
            [116.713078, 40.024873],
            [116.71554, 40.023914],
            [116.716332, 40.023762],
            [116.716948, 40.020456],
            [116.71737, 40.019597],
            [116.718497, 40.019855],
            [116.72014, 40.020043],
            [116.719722, 40.022505],
            [116.724228, 40.021276],
            [116.724208, 40.021707],
            [116.724839, 40.024266],
            [116.728411, 40.023686],
            [116.728192, 40.022566],
            [116.732046, 40.022214],
            [116.731952, 40.02412],
            [116.732338, 40.025101],
            [116.733533, 40.025165],
            [116.733595, 40.025826],
            [116.737131, 40.025568],
            [116.737147, 40.027605],
            [116.742232, 40.027508],
            [116.742399, 40.026449],
            [116.745517, 40.026616],
            [116.74558, 40.025353],
            [116.747056, 40.025392],
            [116.74703, 40.021977],
            [116.749601, 40.021989],
            [116.749904, 40.019819],
            [116.751765, 40.019955],
            [116.752303, 40.01865],
            [116.753283, 40.015918],
            [116.754749, 40.015705],
            [116.756741, 40.015842],
            [116.759651, 40.016136],
            [116.763636, 40.016066],
            [116.764475, 40.015833],
            [116.764788, 40.016054],
            [116.766082, 40.015784],
            [116.768684, 40.015462],
            [116.771751, 40.014472],
            [116.772611, 40.015447],
            [116.773769, 40.01712],
            [116.774562, 40.019382],
            [116.775647, 40.02168],
            [116.776205, 40.024585],
            [116.776074, 40.025756],
            [116.775422, 40.026339],
            [116.777477, 40.027207],
            [116.777811, 40.032447],
            [116.77852, 40.03285],
            [116.77997, 40.033988],
            [116.78154, 40.03482],
            [116.782666, 40.034835],
            [116.783621, 40.035017],
            [116.78626, 40.035026],
            [116.788461, 40.034586],
            [116.790223, 40.03448],
            [116.789535, 40.032316],
            [116.796847, 40.02993],
            [116.800258, 40.02885],
            [116.800988, 40.029991],
            [116.801708, 40.029812],
            [116.803371, 40.032158],
            [116.807022, 40.031566],
            [116.810772, 40.031008],
            [116.811726, 40.032313],
            [116.812081, 40.032152],
            [116.811982, 40.031223],
            [116.815299, 40.030911],
            [116.8152, 40.028646],
            [116.819993, 40.028349],
            [116.819977, 40.030316],
            [116.821745, 40.029945],
            [116.821802, 40.03078],
            [116.821104, 40.030859],
            [116.821156, 40.032565],
            [116.820723, 40.032589],
            [116.820712, 40.035691],
            [116.820817, 40.038784],
            [116.820327, 40.039716],
            [116.823158, 40.039837],
            [116.823205, 40.042338],
            [116.822741, 40.046471],
            [116.823946, 40.04672],
            [116.828728, 40.047424],
            [116.828713, 40.048003],
            [116.830575, 40.048243],
            [116.830757, 40.048091],
            [116.831727, 40.048486],
            [116.831493, 40.051202],
            [116.832233, 40.051317],
            [116.836911, 40.051323],
            [116.843347, 40.051684],
            [116.844823, 40.05169],
            [116.847013, 40.051924],
            [116.849491, 40.051933],
            [116.8502, 40.054974],
            [116.852964, 40.053975],
            [116.857809, 40.051894],
            [116.856078, 40.050076],
            [116.857924, 40.049496],
            [116.860928, 40.049366],
            [116.862472, 40.047767],
            [116.865705, 40.044241],
            [116.867828, 40.041867],
            [116.870644, 40.041755],
            [116.870681, 40.041051],
            [116.873612, 40.041521],
            [116.875067, 40.042198],
            [116.878702, 40.044468],
            [116.880746, 40.046171],
            [116.881623, 40.045828],
            [116.882952, 40.045612],
            [116.885148, 40.045728],
            [116.887344, 40.045964],
            [116.890264, 40.04597],
            [116.891594, 40.04519],
            [116.891897, 40.044629],
            [116.892408, 40.045539],
            [116.892382, 40.046374],
            [116.896914, 40.047048],
            [116.899709, 40.047406],
            [116.901514, 40.047418],
            [116.901368, 40.047718],
            [116.903939, 40.049712],
            [116.905232, 40.050313],
            [116.906526, 40.051481],
            [116.90821, 40.052051],
            [116.908075, 40.052807],
            [116.908492, 40.05284],
            [116.90869, 40.052212],
            [116.909812, 40.052498],
            [116.914239, 40.052595],
            [116.914834, 40.050498],
            [116.915413, 40.04811],
            [116.916899, 40.048877],
            [116.916951, 40.047591],
            [116.917979, 40.044708],
            [116.919262, 40.045175],
            [116.919272, 40.046158],
            [116.924164, 40.047469],
            [116.924164, 40.048046],
            [116.925009, 40.048795],
            [116.924941, 40.050034],
            [116.925411, 40.050064],
            [116.925416, 40.051417],
            [116.926876, 40.05142],
            [116.926568, 40.052992],
            [116.927539, 40.053089],
            [116.92806, 40.051165],
            [116.928889, 40.051187],
            [116.928107, 40.054928],
            [116.930417, 40.055332],
            [116.931695, 40.052024],
            [116.932665, 40.052024],
            [116.934663, 40.052388],
            [116.935043, 40.051408],
            [116.935482, 40.051408],
            [116.936013, 40.050719],
            [116.938825, 40.050883],
            [116.938934, 40.04932],
            [116.936227, 40.049299],
            [116.936253, 40.04834],
            [116.938668, 40.048261],
            [116.93763, 40.046914],
            [116.937891, 40.046529],
            [116.939085, 40.045992],
            [116.939935, 40.046647],
            [116.941265, 40.048022],
            [116.941552, 40.048665],
            [116.943185, 40.048562],
            [116.943555, 40.044071],
            [116.944488, 40.044319],
            [116.944415, 40.048632],
            [116.94501, 40.048638],
            [116.945271, 40.041418],
            [116.95046, 40.044681],
            [116.950643, 40.044514],
            [116.957913, 40.049345],
            [116.96051, 40.051105],
            [116.961929, 40.051366],
            [116.962043, 40.052246],
            [116.961991, 40.057325],
            [116.962195, 40.058842],
            [116.960901, 40.0589],
            [116.961016, 40.062031],
            [116.961913, 40.061913],
            [116.962299, 40.063527],
            [116.966664, 40.062905],
            [116.967107, 40.064646],
            [116.968281, 40.064291],
            [116.970664, 40.0638],
            [116.970638, 40.062522],
            [116.972839, 40.062677],
            [116.972354, 40.063511],
            [116.971603, 40.064221],
            [116.971979, 40.065083],
            [116.973423, 40.066081],
            [116.973475, 40.066302],
            [116.975264, 40.065638],
            [116.975864, 40.06613],
            [116.978602, 40.064901],
            [116.979301, 40.067892],
            [116.979656, 40.067831],
            [116.980824, 40.071187],
            [116.981403, 40.070929],
            [116.982847, 40.07068],
            [116.984026, 40.07473],
            [116.984402, 40.075527],
            [116.98534, 40.076835],
            [116.986284, 40.078351],
            [116.984209, 40.078664],
            [116.985419, 40.080274],
            [116.98169, 40.081372],
            [116.981497, 40.081297],
            [116.980318, 40.079638],
            [116.978081, 40.079628],
            [116.976975, 40.079992],
            [116.976182, 40.080802],
            [116.97503, 40.081415],
            [116.975927, 40.081627],
            [116.981199, 40.081497],
            [116.981789, 40.081955],
            [116.98195, 40.08247],
            [116.981121, 40.082625],
            [116.981178, 40.084827],
            [116.980907, 40.086171],
            [116.980568, 40.08682],
            [116.978717, 40.088118],
            [116.978185, 40.089076],
            [116.978341, 40.089419],
            [116.981856, 40.089828],
            [116.982138, 40.091041],
            [116.981898, 40.092015],
            [116.981283, 40.092188],
            [116.980026, 40.091408],
            [116.979661, 40.091536],
            [116.979296, 40.0924],
            [116.979572, 40.093664],
            [116.979906, 40.094068],
            [116.977893, 40.09415],
            [116.977491, 40.09442],
            [116.977376, 40.095108],
            [116.975457, 40.095059],
            [116.975139, 40.095223],
            [116.975056, 40.0963],
            [116.973507, 40.096955],
            [116.973298, 40.098225],
            [116.974842, 40.097643],
            [116.975327, 40.098271],
            [116.974633, 40.098625],
            [116.970842, 40.100008],
            [116.969428, 40.100339],
            [116.967973, 40.101209],
            [116.968114, 40.101521],
            [116.968948, 40.10187],
            [116.969971, 40.101785],
            [116.970221, 40.102125],
            [116.97069, 40.104353],
            [116.971739, 40.104299],
            [116.973324, 40.103717],
            [116.974331, 40.105921],
            [116.976073, 40.111196],
            [116.973074, 40.112254],
            [116.971697, 40.113361],
            [116.971295, 40.114016],
            [116.969194, 40.118772],
            [116.97092, 40.121676],
            [116.9702, 40.122028],
            [116.971593, 40.124219],
            [116.969746, 40.125035],
            [116.967754, 40.126041],
            [116.965783, 40.127814],
            [116.967838, 40.129851],
            [116.968177, 40.130888],
            [116.96825, 40.133591],
            [116.968693, 40.136476],
            [116.970033, 40.140313],
            [116.972177, 40.141568],
            [116.973381, 40.14288],
            [116.973418, 40.14451],
            [116.973694, 40.145777],
            [116.977392, 40.150504],
            [116.977757, 40.151379],
            [116.974638, 40.153573],
            [116.972057, 40.156294],
            [116.968912, 40.162077],
            [116.96875, 40.163489],
            [116.965319, 40.167778],
            [116.961251, 40.171941],
            [116.962043, 40.175542],
            [116.957136, 40.17546],
            [116.957047, 40.174503],
            [116.951383, 40.174794],
            [116.951383, 40.177695],
            [116.947732, 40.177541],
            [116.945855, 40.180691],
            [116.945339, 40.1813],
            [116.946126, 40.181972],
            [116.945803, 40.186218],
            [116.949975, 40.186351],
            [116.949991, 40.187723],
            [116.94986, 40.188704],
            [116.949406, 40.190167],
            [116.948916, 40.190791],
            [116.946898, 40.192072],
            [116.946559, 40.192686],
            [116.945917, 40.193131],
            [116.944186, 40.193613],
            [116.943263, 40.193589],
            [116.942068, 40.193779],
            [116.941187, 40.193464],
            [116.940613, 40.191811],
            [116.940243, 40.192326],
            [116.939544, 40.192347],
            [116.93957, 40.194109],
            [116.939111, 40.194264],
            [116.939012, 40.195633],
            [116.938433, 40.195614],
            [116.937265, 40.195066],
            [116.936128, 40.196175],
            [116.937223, 40.196807],
            [116.936519, 40.197443],
            [116.935789, 40.198954],
            [116.934605, 40.199962],
            [116.934355, 40.201195],
            [116.933995, 40.201864],
            [116.933124, 40.202836],
            [116.933432, 40.203838],
            [116.9335, 40.204798],
            [116.93229, 40.20576],
            [116.930902, 40.207086],
            [116.931168, 40.207456],
            [116.930058, 40.209457],
            [116.929458, 40.210922],
            [116.929682, 40.211579],
            [116.930709, 40.211606],
            [116.931221, 40.211927],
            [116.933734, 40.212433],
            [116.934981, 40.21226],
            [116.936326, 40.211506],
            [116.936989, 40.210701],
            [116.938032, 40.210547],
            [116.938939, 40.211618],
            [116.939487, 40.212726],
            [116.93945, 40.213117],
            [116.938783, 40.213604],
            [116.938512, 40.214155],
            [116.938611, 40.216035],
            [116.939497, 40.217182],
            [116.939033, 40.218245],
            [116.939852, 40.219147],
            [116.939508, 40.220542],
            [116.939732, 40.221444],
            [116.940978, 40.223926],
            [116.939925, 40.225016],
            [116.938183, 40.225957],
            [116.937886, 40.226463],
            [116.937583, 40.227725],
            [116.937208, 40.228396],
            [116.93581, 40.228896],
            [116.93521, 40.229843],
            [116.932884, 40.230409],
            [116.931059, 40.230627],
            [116.929745, 40.229683],
            [116.928336, 40.227976],
            [116.926579, 40.22744],
            [116.925432, 40.225769],
            [116.925583, 40.224813],
            [116.925275, 40.224123],
            [116.925713, 40.223339],
            [116.925473, 40.22257],
            [116.924623, 40.221883],
            [116.924258, 40.221154],
            [116.92298, 40.220333],
            [116.922026, 40.220128],
            [116.920164, 40.221048],
            [116.919178, 40.221102],
            [116.916211, 40.222243],
            [116.915507, 40.222268],
            [116.913916, 40.220125],
            [116.91195, 40.221299],
            [116.908596, 40.222401],
            [116.908544, 40.223133],
            [116.907449, 40.223754],
            [116.907246, 40.225364],
            [116.907324, 40.227098],
            [116.90686, 40.227785],
            [116.906594, 40.228684],
            [116.905681, 40.228678],
            [116.904325, 40.228914],
            [116.902979, 40.229014],
            [116.901582, 40.228968],
            [116.900706, 40.22876],
            [116.900221, 40.229083],
            [116.899396, 40.231138],
            [116.898187, 40.231365],
            [116.897597, 40.231868],
            [116.894958, 40.231841],
            [116.894181, 40.232313],
            [116.893858, 40.23287],
            [116.893952, 40.233457],
            [116.895803, 40.234374],
            [116.89681, 40.235914],
            [116.89731, 40.236183],
            [116.898797, 40.236546],
            [116.89924, 40.236422],
            [116.900638, 40.236788],
            [116.901738, 40.236834],
            [116.901295, 40.238017],
            [116.900288, 40.239007],
            [116.898025, 40.239149],
            [116.897008, 40.23963],
            [116.896095, 40.239512],
            [116.894353, 40.240026],
            [116.893973, 40.241388],
            [116.893347, 40.242105],
            [116.892799, 40.243322],
            [116.892747, 40.244036],
            [116.892455, 40.244571],
            [116.892251, 40.245715],
            [116.891114, 40.246402],
            [116.889753, 40.24701],
            [116.889138, 40.247897],
            [116.888601, 40.249836],
            [116.887318, 40.251446],
            [116.886588, 40.251911],
            [116.886379, 40.253536],
            [116.886494, 40.254323],
            [116.886092, 40.255252],
            [116.884627, 40.255884],
            [116.884063, 40.256655],
            [116.883396, 40.257009],
            [116.882718, 40.257977],
            [116.881889, 40.258528],
            [116.881268, 40.259221],
            [116.88145, 40.259974],
            [116.881529, 40.261535],
            [116.880579, 40.262893],
            [116.880136, 40.263168],
            [116.879886, 40.264145],
            [116.87841, 40.264281],
            [116.877346, 40.264896],
            [116.876355, 40.266027],
            [116.875547, 40.266698],
            [116.874707, 40.267954],
            [116.874269, 40.268298],
            [116.875442, 40.269548],
            [116.875875, 40.270264],
            [116.875479, 40.271178],
            [116.875568, 40.271868],
            [116.87539, 40.272763],
            [116.875781, 40.273192],
            [116.875781, 40.273703],
            [116.876339, 40.274342],
            [116.874796, 40.275715],
            [116.874509, 40.276918],
            [116.873445, 40.277838],
            [116.8732, 40.278473],
            [116.873184, 40.279565],
            [116.871734, 40.281476],
            [116.871682, 40.282855],
            [116.872099, 40.283693],
            [116.872115, 40.284579],
            [116.871865, 40.286441],
            [116.871552, 40.287687],
            [116.871546, 40.288573],
            [116.872021, 40.289293],
            [116.87164, 40.289925],
            [116.871536, 40.290886],
            [116.869679, 40.290784],
            [116.866811, 40.291234],
            [116.865883, 40.291092],
            [116.864772, 40.291328],
            [116.863875, 40.291119],
            [116.862388, 40.291219],
            [116.862138, 40.290914],
            [116.860949, 40.290868],
            [116.860187, 40.291083],
            [116.859463, 40.290871],
            [116.85855, 40.291951],
            [116.857877, 40.292262],
            [116.857189, 40.292897],
            [116.85649, 40.294306],
            [116.856751, 40.29472],
            [116.856505, 40.296045],
            [116.855666, 40.296713],
            [116.855196, 40.297478],
            [116.855295, 40.297877],
            [116.854633, 40.299401],
            [116.854498, 40.300217],
            [116.854023, 40.301088],
            [116.854012, 40.301626],
            [116.85455, 40.303156],
            [116.851707, 40.307986],
            [116.851473, 40.308778],
            [116.850153, 40.309776],
            [116.84898, 40.311203],
            [116.847238, 40.311049],
            [116.845553, 40.310722],
            [116.844818, 40.310843],
            [116.842758, 40.310365],
            [116.840885, 40.310054],
            [116.840239, 40.310226],
            [116.838392, 40.310184],
            [116.837365, 40.309951],
            [116.835321, 40.309051],
            [116.8341, 40.30867],
            [116.832948, 40.307376],
            [116.832828, 40.306925],
            [116.830815, 40.305453],
            [116.828994, 40.30441],
            [116.828859, 40.303842],
            [116.82924, 40.303624],
            [116.829453, 40.302787],
            [116.830277, 40.300779],
            [116.830095, 40.299198],
            [116.828833, 40.298714],
            [116.828228, 40.298781],
            [116.827169, 40.298212],
            [116.827487, 40.296837],
            [116.826934, 40.295996],
            [116.826919, 40.295189],
            [116.826668, 40.293995],
            [116.826934, 40.293535],
            [116.825886, 40.292864],
            [116.825511, 40.291969],
            [116.824577, 40.290995],
            [116.824603, 40.289535],
            [116.825104, 40.288658],
            [116.824582, 40.287769],
            [116.824332, 40.28694],
            [116.824906, 40.286804],
            [116.825125, 40.28535],
            [116.823362, 40.285268],
            [116.822392, 40.284712],
            [116.821865, 40.285096],
            [116.819195, 40.284309],
            [116.818011, 40.284192],
            [116.817974, 40.283956],
            [116.81872, 40.28336],
            [116.820186, 40.282589],
            [116.821422, 40.282283],
            [116.8221, 40.28147],
            [116.820926, 40.281252],
            [116.820107, 40.282078],
            [116.819184, 40.282305],
            [116.81883, 40.282734],
            [116.815252, 40.282858],
            [116.815252, 40.282658],
            [116.81182, 40.282392],
            [116.811805, 40.284237],
            [116.810151, 40.284225],
            [116.810151, 40.284642],
            [116.810861, 40.285586],
            [116.811101, 40.288298],
            [116.810981, 40.289145],
            [116.810391, 40.289114],
            [116.809614, 40.286015],
            [116.808269, 40.286447],
            [116.807601, 40.286526],
            [116.80649, 40.286958],
            [116.80661, 40.287775],
            [116.802375, 40.288498],
            [116.801984, 40.289048],
            [116.800581, 40.28919],
            [116.8002, 40.28906],
            [116.799851, 40.288449],
            [116.798354, 40.28789],
            [116.796508, 40.287814],
            [116.795674, 40.288141],
            [116.794302, 40.288392],
            [116.794427, 40.287288],
            [116.793645, 40.286904],
            [116.792732, 40.287161],
            [116.792404, 40.288089],
            [116.791063, 40.288694],
            [116.79027, 40.288857],
            [116.789785, 40.289378],
            [116.789848, 40.29144],
            [116.788894, 40.291428],
            [116.788289, 40.289435],
            [116.788007, 40.289196],
            [116.787496, 40.284763],
            [116.788304, 40.28473],
            [116.787798, 40.281446],
            [116.786291, 40.281654],
            [116.785577, 40.27928],
            [116.784069, 40.279438],
            [116.783621, 40.277354],
            [116.783897, 40.275557],
            [116.782646, 40.275439],
            [116.783157, 40.274698],
            [116.782959, 40.27325],
            [116.782484, 40.27299],
            [116.781608, 40.272902],
            [116.778458, 40.271517],
            [116.77743, 40.270718],
            [116.774411, 40.269738],
            [116.773508, 40.269526],
            [116.771646, 40.266499],
            [116.769091, 40.266925],
            [116.770718, 40.268725],
            [116.769534, 40.269826],
            [116.768606, 40.270104],
            [116.767844, 40.269418],
            [116.76688, 40.268096],
            [116.766228, 40.268047],
            [116.765242, 40.268332],
            [116.764475, 40.266943],
            [116.76361, 40.267191],
            [116.764256, 40.268429],
            [116.762671, 40.269061],
            [116.762686, 40.271311],
            [116.761847, 40.271338],
            [116.761482, 40.270032],
            [116.759406, 40.271486],
            [116.75792, 40.272376],
            [116.756887, 40.273501],
            [116.75575, 40.2739],
            [116.755787, 40.274937],
            [116.752788, 40.275515],
            [116.750269, 40.27638],
            [116.746957, 40.27775],
            [116.746524, 40.277814],
            [116.742988, 40.279087],
            [116.742138, 40.277929],
            [116.740537, 40.278276],
            [116.741517, 40.279634],
            [116.74097, 40.279834],
            [116.739713, 40.278539],
            [116.738336, 40.278757],
            [116.739906, 40.281083],
            [116.741095, 40.282994],
            [116.738419, 40.284385],
            [116.735827, 40.281558],
            [116.734383, 40.280076],
            [116.729094, 40.275055],
            [116.724912, 40.270522],
            [116.721339, 40.266729],
            [116.716364, 40.261508],
            [116.710846, 40.256229],
            [116.704666, 40.257106],
            [116.704577, 40.251545],
            [116.702965, 40.249718],
            [116.700582, 40.250051],
            [116.696545, 40.248078],
            [116.695054, 40.245207],
            [116.69726, 40.243216],
            [116.696081, 40.242517],
            [116.694141, 40.242211],
            [116.69181, 40.240535],
            [116.690709, 40.240892],
            [116.684013, 40.234277],
            [116.678125, 40.234383],
            [116.678208, 40.233678],
            [116.677817, 40.23369],
            [116.677243, 40.236207],
            [116.67632, 40.23861],
            [116.67547, 40.238299],
            [116.675183, 40.239512],
            [116.674521, 40.238529],
            [116.674239, 40.238483],
            [116.674187, 40.235502],
            [116.670244, 40.234861],
            [116.670208, 40.238135],
            [116.669394, 40.23796],
            [116.668513, 40.237433],
            [116.668784, 40.238532],
            [116.669811, 40.239554],
            [116.671032, 40.240347],
            [116.671574, 40.241582],
            [116.670865, 40.243642],
            [116.670802, 40.244704],
            [116.671063, 40.24517],
            [116.671767, 40.245537],
            [116.671632, 40.246199],
            [116.673327, 40.24678],
            [116.67256, 40.24878],
            [116.671918, 40.251131],
            [116.671282, 40.251893],
            [116.66989, 40.252792],
            [116.669175, 40.253796],
            [116.669097, 40.256168],
            [116.668393, 40.257163],
            [116.668601, 40.257584],
            [116.669483, 40.25752],
            [116.66904, 40.258492],
            [116.668362, 40.2589],
            [116.667355, 40.260279],
            [116.666896, 40.262079],
            [116.667287, 40.262618],
            [116.665837, 40.262618],
            [116.664554, 40.261828],
            [116.66263, 40.261368],
            [116.660732, 40.261405],
            [116.657477, 40.262379],
            [116.65706, 40.262373],
            [116.657112, 40.260779],
            [116.652121, 40.260331],
            [116.652084, 40.260204],
            [116.648517, 40.260146],
            [116.648559, 40.258274],
            [116.643078, 40.257151],
            [116.643036, 40.258129],
            [116.64157, 40.258119],
            [116.641492, 40.259469],
            [116.638613, 40.259454],
            [116.638613, 40.258413],
            [116.637038, 40.258455],
            [116.636021, 40.260406],
            [116.63526, 40.261459],
            [116.631494, 40.261541],
            [116.630076, 40.261632],
            [116.628355, 40.261399],
            [116.628579, 40.260915],
            [116.626039, 40.260984],
            [116.626154, 40.260349],
            [116.623661, 40.260585],
            [116.623275, 40.258374],
            [116.623217, 40.257445],
            [116.623343, 40.256156],
            [116.623718, 40.254072],
            [116.623796, 40.252662],
            [116.622425, 40.252698],
            [116.622044, 40.250459],
            [116.615619, 40.251418],
            [116.614758, 40.251421],
            [116.613241, 40.251769],
            [116.610664, 40.252002],
            [116.610127, 40.25186],
            [116.608661, 40.25186],
            [116.606638, 40.250719],
            [116.605908, 40.250735],
            [116.60378, 40.251322],
            [116.604432, 40.254637],
            [116.604625, 40.256147],
            [116.603488, 40.256882],
            [116.602721, 40.257188],
            [116.60075, 40.258973],
            [116.600515, 40.260285],
            [116.600593, 40.262225],
            [116.599545, 40.262869],
            [116.599649, 40.265389],
            [116.596984, 40.266502],
            [116.596019, 40.266741],
            [116.595769, 40.264472],
            [116.593845, 40.264505],
            [116.592577, 40.264055],
            [116.590841, 40.264139],
            [116.590752, 40.264599],
            [116.589964, 40.265552],
            [116.589391, 40.26662],
            [116.588603, 40.268698],
            [116.588405, 40.26946],
            [116.586428, 40.268102],
            [116.585703, 40.268513],
            [116.585229, 40.267361],
            [116.585229, 40.266229],
            [116.583988, 40.266589],
            [116.582533, 40.268368],
            [116.576149, 40.269006],
            [116.575554, 40.267966],
            [116.573041, 40.26868],
            [116.570203, 40.26887],
            [116.570516, 40.273099],
            [116.565364, 40.273383],
            [116.565311, 40.27429],
            [116.566188, 40.275149],
            [116.566177, 40.278022],
            [116.562938, 40.276162],
            [116.562208, 40.27605],
            [116.559272, 40.276259],
            [116.557076, 40.275902],
            [116.554145, 40.274874],
            [116.552174, 40.273833],
            [116.551913, 40.274109],
            [116.551506, 40.275694],
            [116.548513, 40.275609],
            [116.54844, 40.275796],
            [116.546938, 40.275709],
            [116.546661, 40.274959],
            [116.54627, 40.274977],
            [116.546234, 40.276217],
            [116.540914, 40.27494],
            [116.54069, 40.275285],
            [116.539746, 40.2756],
            [116.538922, 40.276571],
            [116.538405, 40.27684],
            [116.53694, 40.277172],
            [116.538697, 40.271556],
            [116.539469, 40.271269],
            [116.54009, 40.26717],
            [116.539068, 40.266229],
            [116.537352, 40.263858],
            [116.535709, 40.261365],
            [116.526175, 40.26132],
            [116.525007, 40.261202],
            [116.524016, 40.260183],
            [116.523865, 40.258921],
            [116.523969, 40.257517],
            [116.521117, 40.257472],
            [116.520986, 40.258401],
            [116.512589, 40.257877],
            [116.510628, 40.258122],
            [116.509199, 40.258062],
            [116.509262, 40.261096],
            [116.505909, 40.26119],
            [116.50595, 40.261362],
            [116.504626, 40.261066],
            [116.504334, 40.259623],
            [116.503019, 40.259686],
            [116.503103, 40.257871],
            [116.502602, 40.255612],
            [116.501017, 40.2516],
            [116.499958, 40.250583],
            [116.499108, 40.250024],
            [116.497527, 40.250084],
            [116.495504, 40.250822],
            [116.493705, 40.25117],
            [116.492406, 40.251001],
            [116.490617, 40.250042],
            [116.489026, 40.248511],
            [116.486826, 40.247007],
            [116.483842, 40.246051],
            [116.482095, 40.245379],
            [116.48161, 40.244502],
            [116.481099, 40.238244],
            [116.481167, 40.235962],
            [116.48149, 40.234498],
            [116.48281, 40.232189],
            [116.483889, 40.228182],
            [116.483952, 40.225972],
            [116.483764, 40.225188],
            [116.48306, 40.224995],
            [116.477986, 40.225203],
            [116.476791, 40.224925],
            [116.475727, 40.224132],
            [116.474768, 40.222613],
            [116.473719, 40.221208],
            [116.472921, 40.212163],
            [116.472243, 40.205085],
            [116.48451, 40.196492],
            [116.488015, 40.191802],
            [116.488098, 40.191493],
            [116.487926, 40.189149],
            [116.487978, 40.184682],
            [116.488265, 40.18398],
            [116.488964, 40.183162],
            [116.489913, 40.182441],
            [116.4902, 40.181948],
            [116.490132, 40.181312],
            [116.489501, 40.180648],
            [116.488228, 40.179903],
            [116.487222, 40.179064],
            [116.485146, 40.176757],
            [116.483321, 40.171747],
            [116.480807, 40.171934],
            [116.479863, 40.170459],
            [116.478377, 40.166306],
            [116.476922, 40.163583],
            [116.476557, 40.161393],
            [116.476859, 40.16052],
            [116.477923, 40.159981],
            [116.479461, 40.160266],
            [116.482518, 40.160559],
            [116.484619, 40.160469],
            [116.485767, 40.160105],
            [116.486607, 40.159399],
            [116.486831, 40.158269],
            [116.492307, 40.156984],
            [116.490784, 40.148986],
            [116.486648, 40.149431],
            [116.4844, 40.146816],
            [116.480776, 40.147413],
            [116.480291, 40.146858],
            [116.480066, 40.145286],
            [116.480437, 40.143634],
            [116.482309, 40.140631],
            [116.484755, 40.14008],
            [116.487217, 40.124683],
            [116.487337, 40.124453],
            [116.488479, 40.124025],
            [116.489157, 40.122734],
            [116.489319, 40.121491],
            [116.489058, 40.118772],
            [116.490424, 40.116808],
            [116.491525, 40.11397],
            [116.492208, 40.111557],
            [116.492411, 40.109147],
            [116.492333, 40.107873],
            [116.490784, 40.107779],
            [116.490414, 40.103814],
            [116.490122, 40.102725],
            [116.489642, 40.101988],
            [116.48706, 40.100051],
            [116.485866, 40.099268],
            [116.483806, 40.098522],
            [116.482622, 40.097628],
            [116.48089, 40.096973],
            [116.479456, 40.097646],
            [116.477657, 40.09798],
            [116.47627, 40.097567],
            [116.474867, 40.096706],
            [116.474314, 40.096821],
            [116.473808, 40.097419],
            [116.473349, 40.097513],
            [116.472661, 40.096809],
            [116.470043, 40.095663],
            [116.466355, 40.094844],
            [116.464916, 40.093531],
            [116.464754, 40.092846],
            [116.465005, 40.0924],
            [116.466006, 40.091575],
            [116.46684, 40.090186],
            [116.469938, 40.089877],
            [116.471007, 40.089394],
            [116.471618, 40.087887],
            [116.473552, 40.085555],
            [116.475075, 40.084964],
            [116.47978, 40.084518],
            [116.48294, 40.083747],
            [116.483389, 40.083241],
            [116.48294, 40.082379],
            [116.48402, 40.08251],
            [116.485136, 40.082325],
            [116.485699, 40.082],
            [116.486669, 40.081039],
            [116.494179, 40.080511],
            [116.498278, 40.080302],
            [116.499332, 40.080396],
            [116.501074, 40.079404],
            [116.503807, 40.077614],
            [116.505387, 40.076116],
            [116.506769, 40.074348],
            [116.508433, 40.073058],
            [116.5114, 40.071083],
            [116.512694, 40.070659],
            [116.51394, 40.070425],
            [116.514936, 40.070459],
            [116.518045, 40.071074],
            [116.520178, 40.071302],
            [116.523088, 40.071444],
            [116.525988, 40.071335],
            [116.52823, 40.070826],
            [116.529414, 40.070289],
            [116.532961, 40.067983],
            [116.534369, 40.066788],
            [116.536429, 40.064682],
            [116.537795, 40.06312],
            [116.538724, 40.062258],
            [116.542171, 40.059992],
            [116.543177, 40.059409],
            [116.547788, 40.062723],
            [116.548268, 40.063733],
            [116.549478, 40.06299],
            [116.548914, 40.060763],
            [116.550067, 40.059513],
            [116.551079, 40.060311],
            [116.551767, 40.059774],
            [116.578141, 40.076465],
            [116.577296, 40.081946],
            [116.576983, 40.083071],
            [116.576968, 40.084196],
            [116.576196, 40.087014],
            [116.576024, 40.089267],
            [116.575241, 40.092867],
            [116.574318, 40.096133],
            [116.574464, 40.096357],
            [116.574376, 40.099675],
            [116.573833, 40.103338],
            [116.573484, 40.105181],
            [116.574464, 40.105299],
            [116.574073, 40.10781],
            [116.575534, 40.107934],
            [116.575919, 40.105433],
            [116.5763, 40.105463],
            [116.576519, 40.104311],
            [116.577401, 40.104293],
            [116.577714, 40.103304],
            [116.578313, 40.102734],
            [116.58029, 40.08897],
            [116.580363, 40.088357],
            [116.591816, 40.089413],
            [116.59337, 40.089573],
            [116.593193, 40.089962],
            [116.595894, 40.090219],
            [116.59579, 40.091002],
            [116.59604, 40.091678],
            [116.595863, 40.093216],
            [116.598705, 40.093513],
            [116.597777, 40.099326],
            [116.599044, 40.09939],
            [116.598757, 40.100848],
            [116.598085, 40.10177],
            [116.597709, 40.103392],
            [116.598387, 40.103868],
            [116.59992, 40.099435],
            [116.600651, 40.099471],
            [116.601522, 40.093789],
            [116.602909, 40.093877],
            [116.603832, 40.087921],
            [116.604599, 40.087987],
            [116.604724, 40.087253],
            [116.60452, 40.08688],
            [116.603467, 40.086811],
            [116.605522, 40.07361],
            [116.606664, 40.073768],
            [116.606768, 40.073067],
            [116.605616, 40.073019],
            [116.606195, 40.069327],
            [116.606127, 40.069318],
            [116.607352, 40.061445],
            [116.608114, 40.061415],
            [116.608114, 40.060781],
            [116.60754, 40.060799],
            [116.60839, 40.055365],
            [116.608401, 40.05491],
            [116.607733, 40.053359],
            [116.60694, 40.053253],
            [116.607019, 40.052552],
            [116.606142, 40.052464],
            [116.606002, 40.053159],
            [116.603686, 40.05295],
            [116.610064, 40.03122]
        ]
    ],
    [
        [
            [116.578141, 40.076465],
            [116.551767, 40.059774],
            [116.552821, 40.058945],
            [116.552706, 40.057847],
            [116.551579, 40.05785],
            [116.551579, 40.057137],
            [116.552758, 40.054882],
            [116.551313, 40.053432],
            [116.551496, 40.052567],
            [116.551251, 40.052064],
            [116.546724, 40.050595],
            [116.546411, 40.049745],
            [116.546552, 40.048962],
            [116.547339, 40.048007],
            [116.548706, 40.046826],
            [116.55075, 40.045506],
            [116.552456, 40.044799],
            [116.557926, 40.042714],
            [116.56164, 40.041084],
            [116.564242, 40.039655],
            [116.565901, 40.038544],
            [116.567121, 40.037515],
            [116.568269, 40.036128],
            [116.569969, 40.033357],
            [116.570469, 40.032431],
            [116.572712, 40.03316],
            [116.574574, 40.031242],
            [116.577687, 40.02953],
            [116.578167, 40.030143],
            [116.574788, 40.032359],
            [116.574042, 40.033108],
            [116.578809, 40.033102],
            [116.579283, 40.029341],
            [116.577807, 40.027508],
            [116.595545, 40.017514],
            [116.59664, 40.019099],
            [116.597318, 40.01896],
            [116.597386, 40.019424],
            [116.600844, 40.018859],
            [116.60172, 40.020556],
            [116.602951, 40.023449],
            [116.602768, 40.02851],
            [116.607874, 40.029539],
            [116.60765, 40.030911],
            [116.610064, 40.03122],
            [116.603686, 40.05295],
            [116.600426, 40.052634],
            [116.600275, 40.05237],
            [116.599456, 40.052261],
            [116.599284, 40.052537],
            [116.598518, 40.05254],
            [116.598773, 40.050413],
            [116.599342, 40.049791],
            [116.601642, 40.047664],
            [116.599415, 40.047175],
            [116.599889, 40.042447],
            [116.599821, 40.041406],
            [116.597913, 40.042332],
            [116.595587, 40.042948],
            [116.594674, 40.043345],
            [116.591983, 40.043127],
            [116.591758, 40.048762],
            [116.591206, 40.051791],
            [116.589511, 40.049815],
            [116.587956, 40.050537],
            [116.589453, 40.05261],
            [116.589871, 40.053808],
            [116.590095, 40.05501],
            [116.590126, 40.056163],
            [116.589615, 40.059655],
            [116.587988, 40.059588],
            [116.58743, 40.060271],
            [116.58828, 40.060456],
            [116.588713, 40.060869],
            [116.588431, 40.063217],
            [116.58659, 40.074329],
            [116.583711, 40.074014],
            [116.581385, 40.073823],
            [116.581578, 40.072485],
            [116.58125, 40.072446],
            [116.581594, 40.069888],
            [116.581093, 40.069837],
            [116.581411, 40.06785],
            [116.580728, 40.067807],
            [116.580467, 40.069803],
            [116.580071, 40.069782],
            [116.579695, 40.072339],
            [116.578777, 40.072267],
            [116.578141, 40.076465]
        ]
    ]
]
//通州区区域数组
let tongzhou = [
    [
        [
            [116.725524, 39.624073],
            [116.727229, 39.622758],
            [116.730192, 39.622929],
            [116.730508, 39.619146],
            [116.73282, 39.61919],
            [116.733384, 39.617211],
            [116.737609, 39.617338],
            [116.737869, 39.615381],
            [116.740919, 39.6159],
            [116.740979, 39.616582],
            [116.744003, 39.616819],
            [116.743795, 39.618887],
            [116.745083, 39.619331],
            [116.747291, 39.61835],
            [116.748679, 39.619938],
            [116.751078, 39.618605],
            [116.754552, 39.618033],
            [116.762616, 39.613814],
            [116.765604, 39.610642],
            [116.768311, 39.609195],
            [116.77015, 39.607558],
            [116.77035, 39.605715],
            [116.774197, 39.605446],
            [116.774887, 39.599163],
            [116.777468, 39.596039],
            [116.778201, 39.593381],
            [116.781389, 39.593108],
            [116.785063, 39.593495],
            [116.784708, 39.594609],
            [116.785636, 39.594776],
            [116.785462, 39.596206],
            [116.790711, 39.596039],
            [116.790737, 39.597509],
            [116.789497, 39.597531],
            [116.789375, 39.602591],
            [116.792845, 39.60216],
            [116.790746, 39.606758],
            [116.79183, 39.607374],
            [116.790069, 39.608847],
            [116.790017, 39.610537],
            [116.792273, 39.610695],
            [116.794468, 39.611685],
            [116.796463, 39.611945],
            [116.797838, 39.611289],
            [116.802089, 39.612297],
            [116.800978, 39.613361],
            [116.805112, 39.614338],
            [116.806214, 39.61381],
            [116.809715, 39.614527],
            [116.814221, 39.616779],
            [116.814135, 39.617409],
            [116.819535, 39.618997],
            [116.820416, 39.618935],
            [116.823986, 39.617184],
            [116.825044, 39.61388],
            [116.829538, 39.615262],
            [116.830162, 39.616146],
            [116.831845, 39.617008],
            [116.835398, 39.617004],
            [116.83578, 39.618046],
            [116.835138, 39.620356],
            [116.834418, 39.62029],
            [116.834127, 39.621486],
            [116.838439, 39.622225],
            [116.834101, 39.626294],
            [116.831412, 39.629408],
            [116.829768, 39.630785],
            [116.826363, 39.633129],
            [116.828931, 39.635157],
            [116.828835, 39.635895],
            [116.826892, 39.638213],
            [116.829143, 39.640333],
            [116.82995, 39.63955],
            [116.834552, 39.641845],
            [116.833563, 39.644119],
            [116.834873, 39.645179],
            [116.83568, 39.644035],
            [116.83866, 39.643613],
            [116.840755, 39.644242],
            [116.840634, 39.645407],
            [116.839146, 39.647527],
            [116.840885, 39.649048],
            [116.843037, 39.649958],
            [116.849799, 39.651066],
            [116.851404, 39.652838],
            [116.850775, 39.662159],
            [116.849504, 39.662467],
            [116.849947, 39.667553],
            [116.855829, 39.667667],
            [116.856314, 39.667096],
            [116.860492, 39.667267],
            [116.860904, 39.668331],
            [116.86289, 39.668753],
            [116.863983, 39.670393],
            [116.871154, 39.671012],
            [116.874732, 39.668384],
            [116.87586, 39.669188],
            [116.873171, 39.671386],
            [116.876281, 39.672582],
            [116.878484, 39.673105],
            [116.879591, 39.67427],
            [116.88323, 39.67536],
            [116.888032, 39.675641],
            [116.889741, 39.675302],
            [116.891146, 39.674076],
            [116.895167, 39.674964],
            [116.895718, 39.673492],
            [116.897787, 39.674059],
            [116.897319, 39.675131],
            [116.906658, 39.677421],
            [116.9052, 39.681658],
            [116.905647, 39.682106],
            [116.909022, 39.682858],
            [116.90471, 39.689788],
            [116.903023, 39.689749],
            [116.902893, 39.690584],
            [116.89417, 39.689147],
            [116.892938, 39.689085],
            [116.892513, 39.689986],
            [116.890491, 39.689019],
            [116.891428, 39.687802],
            [116.88991, 39.687661],
            [116.887815, 39.690948],
            [116.893363, 39.693189],
            [116.89227, 39.694701],
            [116.893849, 39.695879],
            [116.891975, 39.697887],
            [116.892521, 39.698124],
            [116.891775, 39.699411],
            [116.891038, 39.699495],
            [116.890452, 39.701024],
            [116.888999, 39.700251],
            [116.886553, 39.70203],
            [116.888184, 39.702777],
            [116.887195, 39.707012],
            [116.88637, 39.706999],
            [116.887047, 39.71282],
            [116.885928, 39.714151],
            [116.887116, 39.714318],
            [116.886561, 39.716435],
            [116.884627, 39.716132],
            [116.882792, 39.718478],
            [116.884375, 39.719699],
            [116.88526, 39.723007],
            [116.886717, 39.722989],
            [116.887585, 39.725515],
            [116.892205, 39.725488],
            [116.893263, 39.725251],
            [116.899756, 39.72616],
            [116.899756, 39.727518],
            [116.90255, 39.727667],
            [116.902281, 39.729415],
            [116.906792, 39.730741],
            [116.911542, 39.731519],
            [116.916674, 39.731356],
            [116.916357, 39.73588],
            [116.912939, 39.735686],
            [116.912661, 39.738058],
            [116.911074, 39.737983],
            [116.910718, 39.740995],
            [116.914453, 39.74176],
            [116.91277, 39.744284],
            [116.911872, 39.74489],
            [116.913177, 39.745971],
            [116.911854, 39.747951],
            [116.910917, 39.74796],
            [116.91077, 39.748829],
            [116.909746, 39.748724],
            [116.909252, 39.751393],
            [116.907642, 39.751661],
            [116.907998, 39.75365],
            [116.907226, 39.753922],
            [116.907165, 39.755963],
            [116.901548, 39.755208],
            [116.899587, 39.75876],
            [116.902424, 39.759195],
            [116.901817, 39.763624],
            [116.906775, 39.765279],
            [116.908289, 39.76671],
            [116.910605, 39.762276],
            [116.913481, 39.76142],
            [116.913472, 39.762224],
            [116.915524, 39.763045],
            [116.914041, 39.764638],
            [116.914075, 39.765604],
            [116.915593, 39.766056],
            [116.920907, 39.769102],
            [116.918322, 39.772552],
            [116.9165, 39.775927],
            [116.919029, 39.778793],
            [116.921723, 39.780623],
            [116.924317, 39.781255],
            [116.933786, 39.781808],
            [116.939273, 39.781356],
            [116.941685, 39.779926],
            [116.942626, 39.778486],
            [116.945888, 39.779232],
            [116.945784, 39.777367],
            [116.947974, 39.777701],
            [116.949735, 39.778552],
            [116.948005, 39.785367],
            [116.950776, 39.786223],
            [116.953804, 39.78607],
            [116.953596, 39.78757],
            [116.952308, 39.7903],
            [116.950833, 39.791524],
            [116.948946, 39.791423],
            [116.94669, 39.791783],
            [116.93972, 39.793218],
            [116.93831, 39.793126],
            [116.937269, 39.795205],
            [116.936284, 39.795096],
            [116.93579, 39.796101],
            [116.936709, 39.796412],
            [116.934805, 39.801146],
            [116.936948, 39.801537],
            [116.939624, 39.801414],
            [116.942878, 39.801682],
            [116.942366, 39.803463],
            [116.94047, 39.80398],
            [116.938644, 39.804911],
            [116.935252, 39.807705],
            [116.929786, 39.811372],
            [116.928476, 39.813083],
            [116.928186, 39.814154],
            [116.92878, 39.816513],
            [116.928867, 39.820917],
            [116.927991, 39.824571],
            [116.927548, 39.82904],
            [116.927006, 39.831877],
            [116.925895, 39.835403],
            [116.924251, 39.838367],
            [116.92141, 39.842704],
            [116.917437, 39.846913],
            [116.913988, 39.848943],
            [116.910375, 39.8506],
            [116.908718, 39.85028],
            [116.908736, 39.848873],
            [116.902819, 39.84825],
            [116.902255, 39.84761],
            [116.901934, 39.845116],
            [116.902888, 39.841345],
            [116.903929, 39.839779],
            [116.905491, 39.838267],
            [116.907577, 39.834114],
            [116.907443, 39.832671],
            [116.906697, 39.83136],
            [116.905066, 39.830623],
            [116.903348, 39.830689],
            [116.897505, 39.832579],
            [116.894595, 39.834171],
            [116.892912, 39.835754],
            [116.891628, 39.838622],
            [116.885668, 39.844589],
            [116.883638, 39.845515],
            [116.878302, 39.845216],
            [116.87858, 39.842248],
            [116.876342, 39.843195],
            [116.873683, 39.843704],
            [116.87383, 39.842397],
            [116.872034, 39.841941],
            [116.868165, 39.843612],
            [116.866087, 39.843879],
            [116.865515, 39.846913],
            [116.858297, 39.848465],
            [116.857178, 39.848886],
            [116.85716, 39.849671],
            [116.855091, 39.854857],
            [116.853833, 39.855291],
            [116.853538, 39.857225],
            [116.852541, 39.859053],
            [116.84832, 39.858947],
            [116.84724, 39.858623],
            [116.843913, 39.860916],
            [116.839406, 39.865777],
            [116.836895, 39.864738],
            [116.832232, 39.869717],
            [116.830067, 39.873333],
            [116.827278, 39.877067],
            [116.825131, 39.878684],
            [116.823673, 39.879144],
            [116.819626, 39.879009],
            [116.817019, 39.878658],
            [116.815796, 39.881309],
            [116.81312, 39.881301],
            [116.812295, 39.88971],
            [116.808353, 39.889688],
            [116.808266, 39.884986],
            [116.804331, 39.884907],
            [116.804141, 39.877935],
            [116.800831, 39.878522],
            [116.798289, 39.880109],
            [116.796281, 39.880525],
            [116.794745, 39.881252],
            [116.793448, 39.882764],
            [116.788547, 39.885674],
            [116.787076, 39.886835],
            [116.785363, 39.88953],
            [116.784699, 39.891423],
            [116.784261, 39.896759],
            [116.784231, 39.902223],
            [116.783697, 39.905456],
            [116.782166, 39.910419],
            [116.782704, 39.914904],
            [116.78279, 39.919188],
            [116.782365, 39.928275],
            [116.782777, 39.933],
            [116.78332, 39.936039],
            [116.782977, 39.9435],
            [116.782569, 39.947559],
            [116.780583, 39.949722],
            [116.776852, 39.951162],
            [116.773781, 39.952572],
            [116.769292, 39.953399],
            [116.762815, 39.956012],
            [116.758478, 39.95944],
            [116.757333, 39.961475],
            [116.757367, 39.965988],
            [116.758122, 39.968137],
            [116.75961, 39.969927],
            [116.760937, 39.970938],
            [116.762993, 39.971944],
            [116.763835, 39.972798],
            [116.766433, 39.976356],
            [116.766754, 39.982276],
            [116.770489, 39.987243],
            [116.775364, 39.992756],
            [116.776145, 39.997678],
            [116.775759, 40.00294],
            [116.774319, 40.005315],
            [116.771751, 40.008391],
            [116.770463, 40.011632],
            [116.770923, 40.013228],
            [116.771751, 40.014475],
            [116.768684, 40.015459],
            [116.764789, 40.016054],
            [116.759458, 40.016137],
            [116.754752, 40.015708],
            [116.753285, 40.015918],
            [116.751763, 40.019955],
            [116.749906, 40.019819],
            [116.749603, 40.021993],
            [116.74703, 40.021975],
            [116.747056, 40.025395],
            [116.745577, 40.025351],
            [116.745517, 40.026615],
            [116.742398, 40.026449],
            [116.742233, 40.027507],
            [116.737149, 40.027603],
            [116.737132, 40.02557],
            [116.733592, 40.025828],
            [116.733532, 40.025163],
            [116.732339, 40.025102],
            [116.731953, 40.024118],
            [116.731987, 40.02222],
            [116.728192, 40.022566],
            [116.728413, 40.02369],
            [116.724839, 40.024262],
            [116.724227, 40.021276],
            [116.71972, 40.022504],
            [116.720141, 40.020042],
            [116.717374, 40.019596],
            [116.716949, 40.020458],
            [116.716333, 40.023764],
            [116.715539, 40.023913],
            [116.711362, 40.025636],
            [116.709345, 40.026685],
            [116.708629, 40.026584],
            [116.707679, 40.024757],
            [116.706083, 40.025557],
            [116.703931, 40.020138],
            [116.702608, 40.019246],
            [116.698804, 40.017545],
            [116.697247, 40.016102],
            [116.693135, 40.015529],
            [116.691885, 40.017116],
            [116.688446, 40.016124],
            [116.687825, 40.017086],
            [116.685578, 40.016565],
            [116.687166, 40.013613],
            [116.688376, 40.009178],
            [116.688085, 40.008596],
            [116.686294, 40.008268],
            [116.685817, 40.01147],
            [116.684936, 40.012948],
            [116.684372, 40.012808],
            [116.683778, 40.014457],
            [116.678807, 40.013788],
            [116.678469, 40.015056],
            [116.675294, 40.01451],
            [116.673637, 40.014982],
            [116.668614, 40.013945],
            [116.668666, 40.01311],
            [116.667707, 40.013088],
            [116.66769, 40.015179],
            [116.66549, 40.015253],
            [116.66471, 40.019041],
            [116.661417, 40.018778],
            [116.660953, 40.021087],
            [116.66012, 40.021656],
            [116.656841, 40.019723],
            [116.65564, 40.01856],
            [116.653445, 40.020112],
            [116.65131, 40.022587],
            [116.650911, 40.024896],
            [116.651189, 40.025754],
            [116.649554, 40.024997],
            [116.64866, 40.025163],
            [116.644414, 40.022649],
            [116.637621, 40.021118],
            [116.638089, 40.019968],
            [116.636168, 40.019701],
            [116.635513, 40.021227],
            [116.634654, 40.021144],
            [116.633513, 40.023672],
            [116.63062, 40.023016],
            [116.631027, 40.021673],
            [116.627054, 40.021507],
            [116.62669, 40.022574],
            [116.624304, 40.02257],
            [116.624248, 40.023672],
            [116.620109, 40.022513],
            [116.619394, 40.026733],
            [116.617962, 40.026724],
            [116.618136, 40.027608],
            [116.614132, 40.028181],
            [116.614063, 40.031749],
            [116.607652, 40.030909],
            [116.607877, 40.029536],
            [116.602772, 40.028509],
            [116.602954, 40.023449],
            [116.600841, 40.018861],
            [116.597389, 40.019426],
            [116.596642, 40.019098],
            [116.595545, 40.017514],
            [116.598204, 40.015677],
            [116.60131, 40.013875],
            [116.605183, 40.012974],
            [116.614943, 40.012524],
            [116.619897, 40.011794],
            [116.62168, 40.011028],
            [116.62813, 40.007651],
            [116.625757, 40.00312],
            [116.632736, 39.999821],
            [116.63759, 40.00235],
            [116.638358, 40.001763],
            [116.642687, 39.996759],
            [116.643854, 39.992974],
            [116.643754, 39.989614],
            [116.64031, 39.990183],
            [116.639117, 39.986884],
            [116.633656, 39.986206],
            [116.63291, 39.985239],
            [116.634029, 39.981703],
            [116.639824, 39.982609],
            [116.640119, 39.980561],
            [116.641021, 39.980434],
            [116.640319, 39.976583],
            [116.640726, 39.973502],
            [116.64182, 39.969581],
            [116.642501, 39.963843],
            [116.642882, 39.958678],
            [116.643091, 39.952987],
            [116.644986, 39.948264],
            [116.645272, 39.945983],
            [116.644526, 39.946184],
            [116.638133, 39.949301],
            [116.632225, 39.950545],
            [116.63121, 39.947047],
            [116.630485, 39.946154],
            [116.63065, 39.945335],
            [116.633435, 39.9409],
            [116.633582, 39.939336],
            [116.632979, 39.938947],
            [116.630364, 39.939148],
            [116.629687, 39.938728],
            [116.630286, 39.937003],
            [116.629301, 39.931315],
            [116.625731, 39.932182],
            [116.624851, 39.931792],
            [116.624148, 39.929974],
            [116.626954, 39.926655],
            [116.630572, 39.921676],
            [116.629813, 39.921588],
            [116.620964, 39.923099],
            [116.620374, 39.922223],
            [116.621927, 39.919481],
            [116.620079, 39.919157],
            [116.620279, 39.918124],
            [116.622443, 39.918277],
            [116.623016, 39.913822],
            [116.621016, 39.913192],
            [116.622022, 39.910073],
            [116.620083, 39.908334],
            [116.620248, 39.907668],
            [116.622669, 39.907716],
            [116.62269, 39.906586],
            [116.620808, 39.906595],
            [116.621103, 39.904431],
            [116.623363, 39.904277],
            [116.6221, 39.902499],
            [116.621016, 39.898862],
            [116.620118, 39.898083],
            [116.618075, 39.897136],
            [116.614002, 39.896812],
            [116.614002, 39.896159],
            [116.615312, 39.895502],
            [116.615607, 39.889793],
            [116.616852, 39.889701],
            [116.627583, 39.890472],
            [116.628147, 39.889337],
            [116.628984, 39.881594],
            [116.624313, 39.88116],
            [116.624942, 39.877251],
            [116.624451, 39.876151],
            [116.619992, 39.868955],
            [116.62076, 39.867521],
            [116.623003, 39.867635],
            [116.623402, 39.865247],
            [116.62639, 39.86192],
            [116.625796, 39.861078],
            [116.626963, 39.860683],
            [116.617541, 39.853064],
            [116.613455, 39.85018],
            [116.609885, 39.850456],
            [116.60419, 39.85007],
            [116.604676, 39.846133],
            [116.608359, 39.846536],
            [116.601904, 39.840731],
            [116.601358, 39.834061],
            [116.602251, 39.83168],
            [116.598967, 39.831658],
            [116.599219, 39.825593],
            [116.598117, 39.824685],
            [116.597675, 39.82615],
            [116.591472, 39.82636],
            [116.591112, 39.826027],
            [116.591589, 39.823869],
            [116.583738, 39.824922],
            [116.587008, 39.828224],
            [116.577479, 39.827544],
            [116.57714, 39.830676],
            [116.572599, 39.83211],
            [116.572334, 39.835043],
            [116.569358, 39.83496],
            [116.569384, 39.833504],
            [116.567897, 39.833478],
            [116.558592, 39.834693],
            [116.548177, 39.834254],
            [116.54505, 39.836043],
            [116.543657, 39.835079],
            [116.542677, 39.830215],
            [116.541051, 39.829549],
            [116.538092, 39.831421],
            [116.535672, 39.831439],
            [116.535082, 39.832864],
            [116.533195, 39.832732],
            [116.532523, 39.831075],
            [116.536275, 39.829628],
            [116.538153, 39.828211],
            [116.537676, 39.826676],
            [116.534952, 39.827106],
            [116.534934, 39.824628],
            [116.535359, 39.824014],
            [116.539736, 39.823716],
            [116.539589, 39.821562],
            [116.536483, 39.821009],
            [116.533368, 39.819663],
            [116.54053, 39.811864],
            [116.541688, 39.803164],
            [116.537763, 39.802568],
            [116.537815, 39.800444],
            [116.535112, 39.800142],
            [116.537537, 39.796671],
            [116.533585, 39.795684],
            [116.535364, 39.793398],
            [116.530926, 39.791743],
            [116.533351, 39.788672],
            [116.532896, 39.786544],
            [116.538084, 39.781277],
            [116.530093, 39.778842],
            [116.536127, 39.76987],
            [116.542504, 39.770766],
            [116.544646, 39.772298],
            [116.545787, 39.768725],
            [116.5365, 39.768409],
            [116.537181, 39.766144],
            [116.539879, 39.766258],
            [116.540417, 39.761065],
            [116.528302, 39.761469],
            [116.523626, 39.769927],
            [116.520073, 39.765779],
            [116.525179, 39.762395],
            [116.522997, 39.749672],
            [116.531148, 39.747551],
            [116.527552, 39.74331],
            [116.532319, 39.743037],
            [116.532484, 39.741746],
            [116.536236, 39.740662],
            [116.538196, 39.741584],
            [116.539949, 39.741579],
            [116.539398, 39.738949],
            [116.538313, 39.739098],
            [116.537992, 39.738071],
            [116.532414, 39.739621],
            [116.532145, 39.738708],
            [116.531842, 39.730017],
            [116.537819, 39.728049],
            [116.53729, 39.722493],
            [116.536973, 39.721522],
            [116.534609, 39.718074],
            [116.529356, 39.719809],
            [116.527274, 39.718206],
            [116.526775, 39.717195],
            [116.527335, 39.71658],
            [116.532557, 39.715285],
            [116.530553, 39.713273],
            [116.535672, 39.71188],
            [116.544967, 39.715039],
            [116.5459, 39.715126],
            [116.571128, 39.714626],
            [116.573271, 39.714498],
            [116.573466, 39.709121],
            [116.57989, 39.710241],
            [116.580289, 39.711963],
            [116.5812, 39.712521],
            [116.590145, 39.713343],
            [116.590197, 39.71152],
            [116.598373, 39.711959],
            [116.601809, 39.712851],
            [116.604017, 39.714749],
            [116.604554, 39.718724],
            [116.609148, 39.719365],
            [116.608853, 39.721285],
            [116.612657, 39.722023],
            [116.612991, 39.723859],
            [116.614748, 39.723903],
            [116.614804, 39.721882],
            [116.615733, 39.721966],
            [116.615698, 39.724496],
            [116.616249, 39.725576],
            [116.621871, 39.725827],
            [116.621645, 39.728071],
            [116.626347, 39.728304],
            [116.628121, 39.727746],
            [116.63137, 39.724808],
            [116.631197, 39.722972],
            [116.637634, 39.723938],
            [116.638501, 39.717165],
            [116.644591, 39.70964],
            [116.645381, 39.709437],
            [116.648062, 39.709947],
            [116.651445, 39.709328],
            [116.652994, 39.708616],
            [116.653518, 39.707232],
            [116.653098, 39.703827],
            [116.647923, 39.703577],
            [116.64866, 39.700866],
            [116.646253, 39.700448],
            [116.647094, 39.694784],
            [116.651514, 39.694468],
            [116.651332, 39.687868],
            [116.653497, 39.686286],
            [116.658103, 39.686149],
            [116.658173, 39.688575],
            [116.662402, 39.688545],
            [116.662879, 39.68647],
            [116.666562, 39.687103],
            [116.669572, 39.683644],
            [116.668657, 39.681632],
            [116.66602, 39.679685],
            [116.666206, 39.676423],
            [116.668336, 39.676564],
            [116.66857, 39.674595],
            [116.670557, 39.674472],
            [116.671398, 39.675329],
            [116.675211, 39.676239],
            [116.679119, 39.676226],
            [116.680785, 39.674898],
            [116.685335, 39.675949],
            [116.685561, 39.676885],
            [116.692701, 39.676797],
            [116.693729, 39.676507],
            [116.693538, 39.674942],
            [116.698852, 39.674001],
            [116.703771, 39.674151],
            [116.703797, 39.672476],
            [116.704842, 39.669883],
            [116.704859, 39.667184],
            [116.704048, 39.664449],
            [116.702916, 39.66179],
            [116.70214, 39.65764],
            [116.702933, 39.65108],
            [116.702881, 39.649923],
            [116.705866, 39.645218],
            [116.705814, 39.644044],
            [116.706673, 39.641775],
            [116.70764, 39.641124],
            [116.710529, 39.637936],
            [116.710416, 39.639686],
            [116.712641, 39.640249],
            [116.715994, 39.640359],
            [116.723498, 39.639031],
            [116.724379, 39.634901],
            [116.721933, 39.634783],
            [116.722063, 39.631361],
            [116.722778, 39.631141],
            [116.721395, 39.629417],
            [116.722865, 39.628207],
            [116.725168, 39.626897],
            [116.725524, 39.624073]
        ]
    ]
]
//多边形绘制(直接扒,属性看不懂)
const addPolygon = (data: any, AMap: any) => {
    let polygon = new AMap.Polygon({
        path: data,
        fillColor: '#ccebc5',
        strokeOpacity: 1,
        fillOpacity: 0.5,
        strokeColor: '#2b8cbe',
        strokeWeight: 1,
        strokeStyle: 'dashed',
        strokeDasharray: [5, 5],
    });
    polygon.on('mouseover', () => {
        polygon.setOptions({
            fillOpacity: 0.7,
            fillColor: '#7bccc4'
        })
    })
    polygon.on('mouseout', () => {
        polygon.setOptions({
            fillOpacity: 0.5,
            fillColor: '#ccebc5'
        })
    })
    map.value.add(polygon);
}



onMounted(() => {
    initmap(); // 初始化地图
    // 其他代码... // 如：添加地理位置标记、绘制路径、添加事件等... // 请自行根据实际需求编写代码并在此处添加。
})

</script>

<style scoped>
#container {
    width: 100%;
    min-height: 520px;
    /* background-color: aquamarine; */
}
</style>